package com.tongyi.lizhishop.beans;

/**
 * Created by meijun on 17-12-7.
 */
public class Item {
    String msg;
    boolean isShowCheckButton;
    boolean isChecked = false;
    public Item(String s) {
        this.msg = s;
    }

    public boolean isShowCheckButton() {
        return isShowCheckButton;
    }

    public boolean isChecked() {
        return isChecked;
    }

    public Item setChecked(boolean checked) {
        isChecked = checked;
        return this;
    }

    public Item setShowCheckButton(boolean showCheckButton) {
        isShowCheckButton = showCheckButton;
        return this;
    }

    public Item(String s, boolean isShowCheckButton) {
        this.msg = s;
        this.isShowCheckButton = isShowCheckButton;
    }

    @Override
    public String toString() {
        return getMsg();
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
